package com.market.domain.rebate.reposiory;

import com.market.domain.rebate.model.aggregate.BehaviorRebateAggregate;
import com.market.domain.rebate.model.entity.BehaviorRebateOrderEntity;
import com.market.domain.rebate.model.valobj.BehaviorTypeVO;
import com.market.domain.rebate.model.valobj.DailyBehaviorRebateVO;

import java.util.List;

public interface IBehaviorRebateRepository {
    List<DailyBehaviorRebateVO> queryDailyBehaviorRebateConfig(BehaviorTypeVO behaviorTypeVO);

    void saveUserRebateRecord(String userId, List<BehaviorRebateAggregate> behaviorRebateAggregateList);

    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
